<!DOCTYPE html>
<html>
<head>
    <title>测试文件上传</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf8"/>
</head>
<body>
<!--上传图片测试-->
<h4>上传图片测试</h4>
<form action="/app/upload/file" method="post" enctype="multipart/form-data">
    <input type="hidden" name="uid" value="1">
    <input type="file" name="file">
    <input type="submit" value="上传">
</form>
<br>
<!--上传头像测试-->
<h4>上传头像测试</h4>
<form action="/app/user/head" method="post" enctype="multipart/form-data">
    <input type="hidden" name="uid" value="1">
    <input type="file" name="file">
    <input type="submit" value="上传">
</form>
<br>
<!--上传素材测试-->
<h4>上传素材测试</h4>
<form action="/app/stock/upload" method="post" enctype="multipart/form-data">
    <input type="hidden" name="uid" value="1">
    <input type="hidden" name="vid" value="1">
    <input type="file" name="file">
    <input type="submit" value="上传">
</form>
</body>
</html>